package one.stand.service;

import com.sun.org.apache.xpath.internal.operations.Bool;
import one.stand.model.ResultModel;
import one.stand.request.CompanyCustomerLableRequest;
import one.stand.response.CompanyCustomerLableResponse;

import java.util.List;

/**
 * @author Administrator
 */
public interface CompanyCustomerLableService {

    /**
     * 获取客户标签树
     * @param request
     * @return
     */
    ResultModel<List<CompanyCustomerLableResponse>> getTree(CompanyCustomerLableRequest request);

    /**
     * 添加标签
     * @param request
     * @return
     */
    ResultModel<Long> addLable(CompanyCustomerLableRequest request);

    /**
     * 添加标签List
     * @param request
     * @return
     */
    ResultModel<Boolean> addLableList(CompanyCustomerLableRequest request);

    /**
     * 删除标签
     * @param request
     * @return
     */
    ResultModel<Boolean> delLable(CompanyCustomerLableRequest request);


    /**
     * 修改标签
     * @param request
     * @return
     */
    ResultModel<Boolean> updLable(CompanyCustomerLableRequest request);
}
